// 该文件负责所有的公共的组件的全局注册   Vue.use
import PageTools from './PageTools'
import uploadExcel from './uploadExcel'
import ImageUpload from './ImageUpload'
import ScreenFull from './ScreenFull'
import ThemePicker from './ThemePicker'
import lang from './lang'
import TagsView from './TagsView'

export default {
  install(Vue) {
    //  注册全局的通用栏组件对象
    Vue.component('PageTools', PageTools)
    // excel上传插件
    Vue.component('uploadExcel', uploadExcel)
    // 注册导入上传组件
    Vue.component('ImageUpload', ImageUpload)
    // 注册切换全屏组件
    Vue.component('ScreenFull', ScreenFull)
    // 注册主体切换组件
    Vue.component('ThemePicker', ThemePicker)
    // 注册语言国际化切换组件
    Vue.component('lang', lang)
    // 注册多标签组件
    Vue.component('TagsView', TagsView)
  }
}
